﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AIOptimization
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("1)   Artificial Intelligence Optimization");
            Console.WriteLine("2)   Ant Colony Optimization");
            Console.WriteLine("3)   Bacterial Foraging Optimization");
            Console.WriteLine("q)   Exit");
            Console.WriteLine("Please choose the type of optimization. Press key 'q' to stop the application");
            Console.ReadKey();
            ConsoleKey key;
            while ((key = Console.ReadKey().Key) != ConsoleKey.Q)
            {
                Console.WriteLine();
                switch (key)
                {
                    case ConsoleKey.D1:
                        {
                            Console.Clear();
                            PSOTest pso = new PSOTest();
                            break;
                        }
                    case ConsoleKey.D2:
                        {
                            Console.Clear();
                            AntTest ant = new AntTest();
                            break;
                        }
                    case ConsoleKey.D3:
                        {
                            Console.Clear();
                            BacterialTest bacteria = new BacterialTest();
                            break;
                        }
                }
                continue;
            }
        }
    }
}
